﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Veracruz.Messages;
using Veracruz.DataContracts;

namespace Veracruz.Contracts
{
    /// <summary>
    /// 
    /// </summary>
    [ServiceContract(Name="IMembershipInfoContract", Namespace=Namespaces.Contract)]
    public interface IMembershipInfoContract
    {
        [OperationContract()]
        String GetUserNameByEmail(String email);
        [OperationContract()]
        UserMatchResponse GetUserDetails(UserFindCriteriaRequest request);
        [OperationContract()]
        UsersMatchResponse FindUsersByCriteria(FindUsersCriteriaRequest request);
    }
}
